package common

import "errors"

func ErrSerialize(info string) error {
	return errors.New("failed to marshal, " + info)
}

func ErrDeserialize(info string) error {
	return errors.New("failed to parse, " + info)
}

func ErrSendPacket(info string) error {
	return errors.New("failed to send packet, " + info)
}

func ErrUpdateRouting(info string) error {
	return errors.New("failed to update routing, " + info)
}
